package com.xmb.wcapi.controller;


import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.xmb.wcapi.constant.LayTableR;
import com.xmb.wcapi.constant.R;
import com.xmb.wcapi.entity.SysConfig;
import com.xmb.wcapi.service.ISysConfigService;
import com.xmb.wcapi.service.impl.SysConfigServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 配置 前端控制器
 * </p>
 *
 * @author huangping
 * @since 2024-05-28
 */
@Controller
@RequestMapping("manage/sys_config")
public class SysConfigController {

    @Autowired
    ISysConfigService service;

    @RequestMapping("/getMesDepList")
    @ResponseBody
    public LayTableR getMesDepList(Integer page,Integer limit,String depName){
        return service.getMesDepList(page,limit,depName);
    }

}

